- add
void add(string name, string value)
Undocumented in source.
- add
void add(HTTPHeaderCode code, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
- combine
string combine(string separator)
combine all the value for this header into a string
- copyTo
void copyTo(HTTPHeaders header)
Undocumented in source. Be warned that the author may not have intended to support it.
- dub
HTTPHeaders dub()
Undocumented in source. Be warned that the author may not have intended to support it.
- exists
bool exists(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- exists
bool exists(HTTPHeaderCode code)
Undocumented in source. Be warned that the author may not have intended to support it.
- forEachValueOfHeader
bool forEachValueOfHeader(string name, LAMBDA func)
Undocumented in source. Be warned that the author may not have intended to support it.
- forEachValueOfHeader
bool forEachValueOfHeader(HTTPHeaderCode code, LAMBDA func)
Undocumented in source. Be warned that the author may not have intended to support it.
- getNumberOfValues
size_t getNumberOfValues(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- getNumberOfValues
size_t getNumberOfValues(HTTPHeaderCode code)
Undocumented in source. Be warned that the author may not have intended to support it.
- getSingleOrEmpty
string getSingleOrEmpty(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- getSingleOrEmpty
string getSingleOrEmpty(HTTPHeaderCode code)
Undocumented in source. Be warned that the author may not have intended to support it.
- getValuesByKey
string[] getValuesByKey(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- opApply
int opApply(int delegate(string name, string value) opeartions)
Undocumented in source. Be warned that the author may not have intended to support it.
- opApply
int opApply(int delegate(HTTPHeaderCode code, string name, string value) opeartions)
Undocumented in source. Be warned that the author may not have intended to support it.
- remove
bool remove(string name)
Remove all instances of the given header, returning true if anything was
removed and false if this header didn't exist in our set.
- remove
bool remove(HTTPHeaderCode code)
Undocumented in source. Be warned that the author may not have intended to support it.
- removeAll
void removeAll()
Undocumented in source. Be warned that the author may not have intended to support it.
- set
void set(string name, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
- set
void set(HTTPHeaderCode code, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
- size
size_t size()
Get the total number of headers.